home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir30 / mcadam1.zip / MCD.ZIP / MCADAM / HPGL2.DOC < prev    next >
Text File  |  1993-06-02  |  12KB  |  280 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                      MICRO CADAM HPGL2.SYS DRIVER
  8.  
  9.                           February 12, 1990
  10.  
  11.  Hewlett Packard Graphics Language/2 Driver
  12.                                        
  13.  INTRODUCTION
  14.  Note: The following information pertains to the HPGL2.SYS driver 
  15.        dated 2/12/90 with a filesize of 37056, and its successors.
  16.  
  17.  This driver can be used to create Hewlett Packard Graphic 
  18.  Language/2 (HPGL/2) output from MICRO CADAM Cornerstone or MICRO 
  19.  CADAM PLUS. The HPGL/2 output can be directed to plot files or 
  20.  can be sent directly to a plotter. By utilizing plot files, 
  21.  customers have the ability to make use of dedicated plot 
  22.  workstations, third-party spoolers, plot buffering systems, or 
  23.  network plotting capabilities. This driver can direct HPGL/2 
  24.  output directly to plotter attached to a workstation through 
  25.  either a parallel port or a serial port. The ability to plot 
  26.  through a parallel port frees up the workstation many times faster 
  27.  than plotting via serial port communications and is recommended 
  28.  when data through-put is a concern, and especially when using 
  29.  electrostatic plotters which can accept and output data much 
  30.  faster than pen plotters.
  31.  
  32.  INSTALLATION
  33.  The HPGL2.SYS driver may be copied from the supplied diskette 
  34.  using the DOS COPY command. By placing the supplied diskette in 
  35.  the floppy diskette drive and entering the following command at 
  36.  the DOS prompt. 
  37.  
  38.                   COPY A:\HPGL2.SYS C:\MCADAM
  39.  
  40.  If MICRO CADAM is loaded on a drive other than drive c:, please 
  41.  substitute the appropiate drive letter for the C in the above 
  42.  statement. The HPGL2.SYS driver is installed in the config.sys 
  43.  file in the root directory of the workstation's c: drive by using 
  44.  the following statement:
  45.  
  46.                     device=c:\mcadam\hpgl2.sys
  47.  
  48.  The HPGL2.SYS driver should be the only output device driver 
  49.  installed in the config.sys file. For more information on 
  50.  installation please refer to the MICRO CADAM Installation Guide, 
  51.  your local ALTIUM VAR, or the ALTIUM Technical Resource 
  52.  Center if you have a valid maintenance contract. This driver will 
  53.  be included with MICRO CADAM PLUS release 1.1 and subsequent 
  54.  releases of MICRO CADAM Cornerstone.
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  GENERAL DOS INFORMATION
  61.  The HPGL2.SYS driver recognizes a number of DOS environmental 
  62.  variables. These variables are invoked by using the DOS SET 
  63.  command. The format of the command is to enter 
  64.        
  65.        SET variable=parameters
  66.  
  67.  at the DOS prompt or to include these settings in the autoexec.bat 
  68.  file in the root directory of drive c: on your computer's hard 
  69.  disk. Loading them in the autoexec.bat file will cause them to be 
  70.  in effect at boot time and remain valid until they are reset by 
  71.  entering different parameters at the DOS prompt. There should be 
  72.  a single space between the command SET and the environmental 
  73.  variable. There should be no spaces between the environmental 
  74.  variable and the equal sign or between the equal sign and the 
  75.  parameters. 
  76.  
  77.  Typing SET followed by the ENTER key will display all current DOS 
  78.  environment settings. Consult your DOS reference manual for more 
  79.  information on using the DOS SET command.
  80.  
  81.  To remove a previously defined variable, enter
  82.  
  83.        SET variable=
  84.  
  85.  at the DOS prompt.
  86.  DRIVER SPECIFIC INFORMATION
  87.  The following variables are recognized by the hpgl2.sys driver:
  88.  
  89.  SET HPGL2=filename 
  90.                    This variable is used to redirect the HPGL/2 
  91.          output. Where filename can be any valid DOS filename 
  92.          including DOS device names, such as LPT1, LPT2, LPT3, 
  93.          COM1, COM2. The default (no filename specified) is to 
  94.          create HPGL/2 plot files with a naming convention of 
  95.          plt2file.n, where n is an integer number , ie. 1, 2, 3, 
  96.          etc. Each time a new HPGL/2 plot file is created the 
  97.          file number is incremented by one.
  98.  
  99.  SET PAPER_SIZE=hxw 
  100.                    Where h is the height of the paper in whole 
  101.          number of inches and w is the width of the paper in 
  102.          whole number of inches. The default PAPER_SIZE is 'E' 
  103.          size, 32x42 inches. For best results h and w should 
  104.          correspond to the width and height values of a 
  105.          particular MICRO CADAM model's plot data.
  106.                    
  107.  
  108.                    When specifying PAPER_SIZE, use the media 
  109.          sizes recommended below for the HP Draftmaster plotter. 
  110.          The HP Draftmaster has larger margins than other HPGL/2 
  111.          devices. Using larger PAPER_SIZE may result in clipped 
  112.          plots on pen plotters. Recommended cut-sheet PAPER_SIZE 
  113.          values for the HP Draftmaster plotters (Normal Margins).
  114.                              A size 
  115.          7x9
  116.                              B size 
  117.          10x15
  118.                              C size 
  119.          15x21
  120.                              D size 
  121.          21x32
  122.                              E size 
  123.          32x42    
  124.  SET UNITS=mm      
  125.                    This changes the PAPER_SIZE units from inches 
  126.          to millimeters.
  127.  
  128.  SET LONG_AXIS=x   
  129.                    Where x is the length of the paper required 
  130.          for the plot. Using LONG_AXIS provides the capability 
  131.          to do long plots. Techniques used to achieve long plots 
  132.          result in loss of resolution of the plot. Therefore the 
  133.          smallest length required to fit the entire drawing 
  134.          should be used. Specify the x length by multiplying the 
  135.          number of pages or frames required for the plot by the 
  136.          width (w) specified in PAPER_SIZE.
  137.                    Example: 
  138.                    For a 50 inch long plot, x=88; for a 34x44 
  139.          PAPER_SIZE   (E size)
  140.                    For a 50 inch long plot, x=68; for a 22x34 
  141.          PAPER_SIZE   (D size) 
  142.                    For a 100 inch long plot, x=132; for a 34x44 
  143.          PAPER_SIZE (E size)
  144.  
  145.  SET PENWIDTH=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
  146.                    The x1 thru x12 index parameters correspond to 
  147.          a particular pen number. Twelve pens may be assigned a 
  148.          width. Each of the x's can be a number from 0 to 24, 
  149.          which correspond to the pen width table defined below. 
  150.          The pen widths are defined in millimeters.
  151.                       PEN WIDTH INDEX TABLE
  152. INDEX  WIDTH            INDEX  WIDTH         INDEX  WIDTH
  153. 0      0.35             10     0.50          20     2.0
  154. 1      0.125            11     0.625         21     2.5
  155. 2      0.15             12     0.70          22     3.0
  156. 3      0.1875           13     0.75          23     4.0
  157. 4      0.20             14     0.80          24     5.0
  158. 5      0.25             15     0.90          
  159. 6      0.30             16     1.0           
  160. 7      0.325            17     1.25
  161. 8      0.375            18     1.5
  162. 9      0.40             19     1.75
  163.  
  164.  PENCOLOR=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
  165.   
  166.          The x1 thru x12 index parameters correspond to a 
  167.          particular pen number. Twelve pens may be assigned a 
  168.          color. Each of the x's are a number from 0 to 27, which 
  169.          correspond to the pen color table defined below. This 
  170.          environmental variable only effects the operation of 
  171.          Hewlett Packard raster plotters. The default pen color 
  172.          for all pens is black.
  173.                       PEN COLOR INDEX TABLE
  174.                                       
  175. INDEX  COLOR         INDEX  COLOR         INDEX  COLOR
  176. 0      white         10     dark red      20     light green
  177. 1      black         11     dark green    21     light yellow
  178. 2      red           12     dark yellow   22     light blue
  179. 3      green         13     dark blue     23     light magenta
  180. 4      yellow        14     dark magenta  24     light cyan
  181. 5      blue          15     dark cyan     25     light orange
  182. 6      magenta       16     dark orange   26     light brown
  183. 7      cyan          17     dark brown    27     light gray
  184. 8      orange        18     darek gray    
  185. 9      brown         19     light red     
  186.  
  187.  SET PENSCREEN=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
  188.   
  189.          The user can specify the screen vector associated to a 
  190.          pen. The pen screening determines how screening (or 
  191.          area fill) is applied to vectors. Vectors are lines, 
  192.          hatch patterns, arcs, circles, and edges of polygons, 
  193.          rectangles, and wedges. Each of the x's can be a value 
  194.          from 0 to 100. A value of 100 is solid. If pen screen 
  195.          values for less the twelve pens are specified then the 
  196.          last value supplied will be used for the remaining pens. 
  197.          This environmental variable only effects the operation 
  198.          of Hewlett Packard raster plotters. Screening will also 
  199.          be applied to MICRO CADAM TEXT entities as MICRO CADAM 
  200.          draws it's text using vectors. 
  201.  
  202.  SET PENSPEED=x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12
  203.   
  204.          The x1 thru x12 parameters correspond to the pen speed 
  205.          of a particular pen. Twelve pens may be assigned a pen 
  206.          speed. The appropiate pen speed values are device 
  207.          dependent, please consult your Hewlett Packard plotter 
  208.          manual for your particular plotter. The pen speed 
  209.          parameter is only used for pen plotters. When utilizing 
  210.          this variable, pen speeds for all twelve pens must be 
  211.          defined.
  212.  
  213.  
  214.  
  215.  SET LINEATTR=kind,value(,kind,value(kind,value))
  216.   
  217.          The user can specify line attributes. Line attributes 
  218.          specify how lines end and how lines are joined. There 
  219.          are three line attributes. The first is how a line 
  220.          ends. The second is how a line joins and the third 
  221.          defines a miter limit. The miter limit is device 
  222.          dependent, please consult your Hewlett Packard plotter 
  223.          manual for more information on your particular plotter. 
  224.          See table below for the possible kind and value 
  225.          parameters. Line attributes are only used when working 
  226.          with PEN WIDTHs that are greater than 0.8 mm. Lines 
  227.          with PEN WIDTHS less than 0.8 mm are always drawn with 
  228.          rounded caps, regardless of current attribute settings.
  229.                     LINE ATTRIBUTE INDEX TABLE
  230.                                       
  231. ATTRIBUTE             KIND   VALUE         DESCRIPTION
  232. Line Ends             1      1             Butt (default)
  233.                              2             Square
  234.                              3             Triangular
  235.                              4             Round
  236. Line Joins            2      1             Mitered (default)
  237.                              2             Mitered/beveled
  238.                              3             Triangular
  239.                              4             Round
  240.                              5             Beveled
  241.                              6             No join applied
  242. Miter Limit           3      device dependent
  243.  
  244.  
  245.  
  246.  SET COPIES=x 
  247.          
  248.   
  249.          This environmental variable specifies the number of 
  250.          copies that are to be plotted from a single transmission 
  251.          of the plot data to the plotter. The value can be from 
  252.          1 to 999. The default is 1 copy.
  253.  
  254.  SET CUTTER=x 
  255.          
  256.   
  257.          This variable instructs the plotter to cut the paper 
  258.          following the each plot. The value x can be either Y or 
  259.          N. Default is CUTTER=Y or the cutter is ON. For a 
  260.          plotters without an automatic cutter or with the take 
  261.          reel is installed a CUT line will be drawn to simulate 
  262.          a cutter. Only valid on plotters equiped with an 
  263.          automatic cutter.
  264.  
  265.  
  266.  SET ROTATION=x 
  267.          
  268.   
  269.          This variable instructs the plotter to rotate the plot 
  270.          data at the plotter by a certain angle, expressed in 
  271.          degrees. The four possible values of x are 0, 90, 180, 
  272.          and 270. The default rotation is 0.
  273.  
  274.  If you have any questions please contact your ALTIUM VAR or 
  275.  contact ALTIUM Telemarketing at 1-800-255-5710 to locate your 
  276.  nearest ALTIUM VAR. You may also contact the ALTIUM 
  277.  Technical Resource Center if you have a valid technical support 
  278.  contract
  279. 
  280.